package com.lmabbe.tenant.service.impls;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lmabbe.tenant.mapper.TenantDatabasesMapper;
import org.springframework.stereotype.Service;

/**
* @author lmabbe
*/
@Service
public class ${tableName}ServiceImpl extends ServiceImpl<${tableName}Mapper, ${tableName}> implements ${tableName}Service {

    @Override
    public IPage selectPage(${tableName}Query query) {
        return baseMapper.selectPage(query.createPage(), query.createQuery());
    }
}
